Documentation on ratty


Task: ratty
Purpose: FORTRAN preprocessor, so that same code works on more machines
Categories: tools

Ratty is a FORTRAN preprocessor for MIRIAD source code, intended to
make the same FORTRAN code compatible on VMS, SUN, Cray, Alliant,
and Convex. The output is suitable for use with the specified compilers
for these machines.

Usage:

    ratty [-s system] [-I incdir] [-D symbol] [-b] [infile] [outfile]

    system:  One of "f77" (generic unix compiler), "cft" (Cray FORTRAN
             compiler), "vms" (VMS FORTRAN), "fx" (alliant unix
             compiler), "convex" (convex unix compiler).

    incdir:  Directory to search for include files.  The -I option may
             be used repeatedly, but must list only one directory for
             each -I parameter (eg, list two directories as
             "-I dir1 -I dir2").

    symbol:  Define this symbol to the preprocessor. Multiple
             definitions are allowed, defining one symbol per -D entry
             (eg, define two symbols as "-D sym1 -D sym2").

    -b:      If specified, backslashes inside quoted textstrings are
             doubled. This allows for compilers which treat the
             backslash as an escape character.

    infile:  Input file name. If omitted, standard input is assumed
             and output must be the standard output.

    outfile: Output file name. If omitted, standard output is assumed.


Generated by rsault@atnf.csiro.au on 11 Jul 1996